package com.yangtao.prototype.system.organization.web;

import com.yangtao.framework.web.struts2.BaseModel;
import com.yangtao.prototype.system.domain.Organization;

import java.util.List;

public class OrganizationModel extends BaseModel {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	private Organization organization = new Organization();

	private String parentId;

	private int ingoreSubOrg;

	private List<Organization> organizationStore;

	/**
	 * @return the ingoreSubOrg
	 */
	public int getIngoreSubOrg() {
		return ingoreSubOrg;
	}

	/**
	 * @param ingoreSubOrg the ingoreSubOrg to set
	 */
	public void setIngoreSubOrg(int ingoreSubOrg) {
		this.ingoreSubOrg = ingoreSubOrg;
	}

	/**
	 * @return the parentId
	 */
	public String getParentId() {
		return parentId;
	}

	/**
	 * @param parentId the parentId to set
	 */
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}


	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}

	public List<Organization> getOrganizationStore() {
		return organizationStore;
	}

	public void setOrganizationStore(List<Organization> organizationStore) {
		this.organizationStore = organizationStore;
	}
}
